import requests from "./request";

// 热搜列表(简略)：/search/hot
export const hotSearch = () =>
  requests({
    url: "/search/hot",
  });

// 搜索结果列表： /cloudsearch
export const searchResult = (params) =>
  requests({
    url: "/cloudsearch",
    params,
  });
